package com.example.user_service;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

import java.util.Scanner;

@SpringBootApplication
@EnableEurekaClient
public class UserServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserServiceApplication.class, args);
    }
//   public static void main(String[] args) {
//       Scanner scanner = new Scanner(System.in);
//       String port = scanner.nextLine();
//       new SpringApplicationBuilder(UserServiceApplication.class)
//               .properties("server.port=" + port).run(args);
//   }
}
